{template Public:Admin:header}
<style type="text/css">
input[type="checkbox"], input[type="radio"] {
	opacity: 1;
	position: static;
}
</style>
<form action="/admin/ucdata/post" method="post" role="form">

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table table-hover">
<tr>
<td class="col-sm-2">通行证整合:</td>
<td>
<div class="radio">
<label>
<input class="radio" type="radio" name="uc_open" value="1"  {if C('uc_open')==1}checked{/if}>
<span class="text">开启</span>
</label>
</div>

<div class="radio">
<label>
<input class="radio" type="radio" name="uc_open" value="0"  {if C('uc_open')==0}checked{/if}>
<span class="text">关闭</span>
</label>
</div>
<td class="color_999">是否开启整合</td>
</tr>

<tr>
<td class="col-sm-2">整合类型:</td>
<td>
<div class="radio">
<label>
<input class="radio" type="radio" name="uc_apitype" value="0"  {if C('uc_apitype')==0}checked{/if}>
<span class="text">Discuz UC 1.x</span>
</label>
</div>

<div class="radio">
<label>
<input  type="radio" name="uc_apitype" value="1" {if C('uc_apitype')==1}checked{/if}>
<span class="text">PHPWind8.x</span>
</label>
</div>

<div class="radio">
<label>
<input  type="radio" name="uc_apitype" value="2" {if C('uc_apitype')==2}checked{/if}>
<span class="text">PHPWind9.x</span>
</label>
</div>

</td>
<td class="color_999">整合的程序接口</td>
</tr>

<tr>
<td class="col-sm-2">数据库连接:</td>
<td>
<div class="radio">
<label>
<input class="radio" type="radio" name="uc_linktype" value="mysql"  {if C('uc_linktype')=='mysql'}checked{/if}>
<span class="text">MySQL</span>
</label>
</div>

<div class="radio">
<label>
<input  type="radio" name="uc_linktype" value="" {if !C('uc_linktype')}checked{/if}>
<span class="text">Fscoketopen</span>
</label>
</div>

</td>
<td class="color_999">同一数据库使用 MySQL 连接,非同数据库使用fscoketopen连接</td>
</tr>

<tr>
<td class="col-sm-2">数据库主机:</td>
<td><input name="uc_dbhost" value="{echo C('uc_dbhost')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 数据库主机 本机 localhost 或 127.0.0.1</td>
</tr>

<tr>
<td class="col-sm-2">数据库用户名:</td>
<td><input name="uc_dbuser" value="{echo C('uc_dbuser')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 数据库用户名</td>
</tr>

<tr>
<td class="col-sm-2">数据库密码:</td>
<td><input name="uc_dbpw" value="{echo C('uc_dbpw')}" type="password"  class="form-control" /></td>
<td class="color_999">UCenter 数据库密码</td>
</tr>

<tr>
<td class="col-sm-2">数据库名称:</td>
<td><input name="uc_dbname" value="{echo C('uc_dbname')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 数据库名称</td>
</tr>

<tr>
<td class="col-sm-2">数据库字符集:</td>
<td><input name="uc_dbcharset" value="{echo C('uc_dbcharset')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 数据库字符集 utf8</td>
</tr>

<tr>
<td class="col-sm-2">数据库表前缀:</td>
<td><input name="uc_dbpre" value="{echo C('uc_dbpre')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 数据库表前缀</td>
</tr>

<tr>
<td class="col-sm-2">通信密钥:</td>
<td><input name="uc_key" value="{echo C('uc_key')}" type="text"  class="form-control" /></td>
<td class="color_999">与 UCenter 的通信密钥, 要与 UCenter 保持一致</td>
</tr>

<tr>
<td class="col-sm-2">URL 地址:</td>
<td><input name="uc_api" value="{echo C('uc_api')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 的 URL 地址</td>
</tr>

<tr>
<td class="col-sm-2">UCenter 的字符集:</td>
<td><input name="uc_charset" value="{echo C('uc_charset')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 的页面字符集 utf-8 gbk</td>
</tr>

<tr>
<td class="col-sm-2">UCenter 的 IP:</td>
<td><input name="uc_ip" value="{echo C('uc_ip')}" type="text"  class="form-control" /></td>
<td class="color_999">UCenter 的 IP,当前应用服务器解析域名有问题时, 请设置此值</td>
</tr>

<tr>
<td class="col-sm-2">当前应用的 ID:</td>
<td><input name="uc_appid" value="{echo C('uc_appid')}" type="text"  class="form-control" /></td>
<td class="color_999">当前UCenter里应用的 ID</td>
</tr>


<tr>
<td class="col-sm-2"></td>
<td><button class="btn btn-palegreen" type="submit">提交</button></td>
<td></td>
</tr>   


</table>

</form>


{template Public:Admin:footer}